package com.why.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author hy-woo
 * @since 2022-06-07
 */
@Getter
@Setter
@TableName("tb_log")
public class Log implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 访问的用户
     */
    private String username;

    /**
     * 访问人的ip地址
     */
    private String fromip;

    /**
     * 访问的url
     */
    private String url;

    /**
     * 携带的参数
     */
    private String urlpara;

    /**
     * 访问的时间
     */
    private LocalDateTime acesstime;


}
